export function jumpPage(val) {
	let url = ''
	switch (val.selsectValue) {
		case '/category':
			url = `/pages_category_page2/whole/single/single?name=${val.title}&id=${val.data.id || ''}`
			break
		case '/shop':
			url = '/pages_category_page3/shop/allShop?shopId=' + val.data.shopId
			break
		case '/detail':
			url = '/pages_category_page3/goodsModule/goodsDetails?shopId=' + val.data.shopId + '&productId=' + val.data
				.productId + '&skuId=' + val.data.skuId
			break
		case '/notice':
			url = '/pages_category_page2/userModule/messageDetail?noticeId=' + val.data.noticeId
			break
	}
	uni.navigateTo({
		url:url
	})
}
